package com.sym.demo.duotai;

import lombok.Data;

/**
 * @Author: su_yongming
 * @Date: 2021/3/16 15:14
 */
@Data
public class B extends A{
    public String show(B obj){
        return ("B and B");
    }

    @Override
    public String show(A obj){
        return "B and A";
    }
}
